package com.zxmc.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class NovelQueryDto implements Serializable {
    private Integer id;
    //作者名、小说名关键字
    private String key;
    //作者名
    private String author;
    //状态
    private String status;
    //标签
    private String tags;
    //字数
    private Integer totalLow;
    private Integer totalHigh;
    //时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updated;

    //男女频
    private String boyOrGirl;
    //排序方式
    private Integer sort = 0;
}
